﻿using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;

namespace NinjaToolbox.SubComponentModule
{
    public class SubComponentModuleExample : SubComponentBase
    {
        protected override void SubComponent_Awake()
        {
            base.SubComponent_Awake();

            Debug.Log("Awake ");
        }

        protected override void SubComponent_OnEnable()
        {
            base.SubComponent_OnEnable();

            Debug.Log("OnEnable ");
        }

        protected override void SubComponent_Start()
        {
            base.SubComponent_Start();

            Debug.Log("Start");
        }

        protected override void SubComponent_OnDisable()
        {
            base.SubComponent_OnDisable();

            Debug.Log("OnDisable ");
        }

        protected override void SubComponent_Update()
        {
            base.SubComponent_Update();

            Debug.Log("Update");
        }

        protected override void SubComponent_OnDestroy()
        {
            base.SubComponent_OnDestroy();

            Debug.Log("Destroy");
        }
    }
}
